<template>
	<view>
		<good-list @toGoodDetail="toGoodDetail" :styleType="false"></good-list>
	</view>
</template>

<script>
	import goodList from "../../../components/goods/good-list/good-list.vue"
	export default {
		components:{
			goodList
		},
		data() {
			return {
				
			}
		},
		onLoad(option) {
			uni.setNavigationBarTitle({
				title:option.pageName
			})
		},
		methods: {
			toGoodDetail(e){
				uni.navigateTo({
					url:"/pages/home/good-detail/good-detail?id="+e
				})
			}
		}
	}
</script>

<style>

</style>
